package com.example.tianling.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "reserve_room")
public class ReserveRoomEntity {
    @TableId(value = "reserve_room_id", type = IdType.AUTO)
    private Integer reserveRoomId;

    private String roomName;

    private String roomType;

    private String maxNumber;

    private String userId;

    private String area;

    private String preference;

    private String startTime;

    private String endTime;

    private String createTime;

    public void setReserveRoomId(Integer reserveRoomId) {
        this.reserveRoomId = reserveRoomId;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public void setRoomType(String roomType) {
        this.roomType = roomType;
    }

    public void setMaxNumber(String maxNumber) {
        this.maxNumber = maxNumber;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public void setPreference(String preference) {
        this.preference = preference;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getReserveRoomId() {
        return reserveRoomId;
    }
}
